#include <iostream>
#include "CFileManager.h"

int main(int argc,char *argv[])
{
	if(argc<3) {
		printf("usages : %s <start-path> <level>\n", argv[0]);
	}

	vector<string> dirs;
	vector<string> files;

	CFileManager *FileMan = new CFileManager();
	FileMan->StartWalking(argv[1], atoi(argv[2]));
	dirs = FileMan->getDirs(dirs);
	files = FileMan->getFiles(files);
	delete FileMan;

	for(int i=0;i<dirs.size();i++) cout << dirs[i] << endl;
}
